package com.hamster.crm.service;

import com.hamster.crm.pojo.DictionaryDepartment;
import com.hamster.crm.pojo.DictionaryPosition;
import com.hamster.crm.pojo.Employee;
import com.hamster.crm.pojo.EmployeeState;
import com.hamster.crm.util.PageResult;

import java.util.Date;
import java.util.List;

/**
 * @author Tarry
 * @create 2019/12/21 15:15
 */
public interface EmployeeService {
    void insert(Employee employee);

    Employee get(String id);

    void update(Employee employee);

    void delete(List<String> ids);

    PageResult<Employee> list(Integer pageSize, Integer currentPage, String name, Date startTime,Date endTime, String department);

    List<Employee> getSuperiorSelect(String departmentId, String positionId);

    List<DictionaryDepartment> getDepartmentSelect();

    List<DictionaryPosition> getPositionSelect(String departmentId);

    List<Employee> queryAllEmployee();

    List<EmployeeState> employeeStateList();

    List<DictionaryDepartment>  getDepartmentSelect2();

    List<Employee> recruiterList();
}
